#include<iostream>
using namespace std;
int main()
{
	int f;
	int ans=0;
	cin>>f; 
	ans=5*(f-32)/9;
	cout<<"Celsius = "<<ans<<endl; 
	return 0;
}
